/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.config.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.icinfo.framework.mybatis.mapper.annotation.Before;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

/**
 * 描述:  config_register_case 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @date 2022年11月30日
 */
@Data
@Table(name = "upcase.config_register_case")
public class ConfigRegisterCase implements Serializable {
    /**
     * id
     */
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 配置项名称
     */
    @Column(name = "param_name")
    private String paramName;

    /**
     * 处罚事项id
     */
    @Column(name = "punish_id")
    private String punishId;

    /**
     * 处罚事项名称
     */
    @Column(name = "punish_name")
    private String punishName;

    /**
     * 是否启用；1启用 0未启用
     */
    @Column(name = "state")
    private String state;

    /**
     * 添加时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 添加人id
     */
    @Column(name = "create_user_id")
    private String createUserId;

    /**
     * 添加人名称
     */
    @Column(name = "create_user_name")
    private String createUserName;

    /**
     * 所属机构编码
     */
    @Column(name = "create_org_code")
    private String createOrgCode;

    /**
     * 所属机构名称
     */
    @Column(name = "create_org_name")
    private String createOrgName;

    /**
     * 更新时间
     */
    @Column(name = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    /**
     * 配置类型(1-通用配置 2-办案单位配置)
     */
    @Column(name = "type")
    private String type;

    /**
     * 所属部门编码
     */
    @Column(name = "create_dept_code")
    private String createDeptCode;

    /**
     * 配置项编号
     */
    @Column(name = "param_number")
    private String paramNumber;

    private static final long serialVersionUID = 1L;
}
